package com.wedo.commons.exception;

/**
 * Created by mofei_000 on 2016/11/24.
 */
public class BaseException extends Exception {
    public BaseException(String errorCode,String errorMsg) {
        this.errorCode=errorCode;
        this.errorMsg=errorMsg;
    }
    private String errorCode;
    private String errorMsg;

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }
}
